import * as actionTypes from "./actionTypes"
export const addFlashAc = (data) => {
    return {
        type: actionTypes.ADD_FLASH,
        payload: data
    }
}

export const delFlashAc = (id) => {
    return {
        type: actionTypes.DEL_FLASH,
        id
    }
}